package com.arpa.wms.domain.vo;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 盘点DTO
 * </p>
 *
 * @author LEO
 * @since 2020-09-30
 */
@Data
@ApiModel(value="DifferenceVO对象", description="盘点")
public class DifferenceVO implements Serializable {


    @ApiModelProperty(value = "差异单号")
    private String code;

    @ApiModelProperty(value = "仓库")
    private String warehouseCode;
    @ApiModelProperty(value = "仓库名称")
    private String warehouseName;

    @ApiModelProperty(value = "所属机构")
    private String groupCode;
    @ApiModelProperty(value = "入驻商")
    private String shipmentCode;
    @ApiModelProperty(value = "货主名称")
    private String shipmentName;
    @ApiModelProperty(value = "库位")
    private String location;

    @ApiModelProperty(value = "盘点单号，来源单号")
    private String countingCode;

    @ApiModelProperty(value = "状态,0未审核 1 已审核")
    private String status;

    @ApiModelProperty(value = "类型")
    private String type;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "创建人名称")
    private String createdName;

    @ApiModelProperty(value = "修改人名称")
    private String modifiedName;

    @ApiModelProperty(value = "总数")
    private Long total;
    @ApiModelProperty(hidden = true)
    private String createdBy;

    @ApiModelProperty(hidden = true)
    private String modifiedBy;

    @ApiModelProperty(value = "创建时间")
    @JSONField(format = "yyyy-MM-dd")
    private LocalDateTime gmtCreated;

    @ApiModelProperty(hidden = true)
    @JSONField(format = "yyyy-MM-dd")
    private LocalDateTime gmtModified;

    @ApiModelProperty(value = "差异单明细")
    private List<DifferenceItemVO> differenceItemList;

    @ApiModelProperty(value = "盘点单单据类型")
    private String countingTypeName;

    @ApiModelProperty(value = "所属机构名称")
    private String groupName;
}
